package cn.com.sina.mapper;


import java.util.List;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Select;


import cn.com.sina.pojo.Items;

public interface ItemsMapper {

	@Insert("insert into items(id,introduction,img,name,price) values(#{id},#{introduction},#{img},#{name},#{price})")
	public void add(Items items) ;
	@Select("select * from items")
	public List<Items> find() ;
}
